package com.stone.framework.message.user;

import java.util.List;

import io.swagger.annotations.ApiModelProperty;

public class DeptTreeResBody {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "上级主键")
    private Long parentId;

    @ApiModelProperty(value = "代码")
    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "描述")
    private String desc;

    @ApiModelProperty(value = "下级节点")
    private List<DeptTreeResBody> children;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public List<DeptTreeResBody> getChildren() {
        return children;
    }

    public void setChildren(List<DeptTreeResBody> children) {
        this.children = children;
    }

}
